package com.easyadmin.pro.common.constants;

/**
 * packageName com.easyadmin.pro.tool
 *
 * @author 骑着蚂蚁去上天
 * @version JDK 17
 * @className TokenUtils
 * @date 2024/4/1
 * @description token 常量
 */
public class TokenConstant {

    /**
     * Access Token 密钥
     * */
    public static final String SECRET = "PEAR-ADMIN-SECRET";

    /**
     * Access Token 前缀
     * */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * Access Token 发布者
     * */
    public static final String ISSUER = "Pear-Admin";

    /**
     * Http Header Token 请求头
     * */
    public static final String TOKEN_HEADER =  "Authorization";

    /**
     * Http Header Token Key
     * */
    public static final String TOKEN_HEADER_KEY = "Authorization-Key";

}
